package com.tmt.api.service;

import java.util.concurrent.CompletableFuture;

import com.tmt.api.entity.User;

/**
 * 用户访问异步接口
 * 
 * @author lifeng
 */
public interface UserServiceAsync {

	/**
	 * 获取用户
	 * 
	 * @param id
	 * @return
	 */
	CompletableFuture<User> get(Long id);
}